package com.wffz.service.impl;

import com.wffz.mapper.UserNoticeMapper;
import com.wffz.po.UserNotice;
import com.wffz.service.UserNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author sunlei
 * @className UserNoticeServiceImpl
 * @Description
 * @date 2023-04-01 20:18
 **/
@Service
public class UserNoticeServiceImpl implements UserNoticeService {

    @Autowired
    private UserNoticeMapper userNoticeMapper;

    @Override
    public boolean saveUserNotice(UserNotice userNotice) {
        return userNoticeMapper.insert(userNotice) > 0;
    }
}
